import {Component, OnDestroy, OnChanges, OnInit, ViewEncapsulation} from '@angular/core';

@Component({
  selector: 'app-invest',
  templateUrl: './invest.component.html',
  styleUrls: ['./invest.component.scss'],
  encapsulation: ViewEncapsulation.None
})
export class InvestComponent implements OnInit , OnChanges , OnDestroy {

  constructor() { }
  ngOnChanges () {
    console.log('hello ngOnChange');
  }
  ngOnInit() {
    console.log('hello ngOnInit');
  }
  ngOnDestroy() {
    console.log('hello ngOnDestroy');
  }
}
